package com.usefullc.system.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.usefullc.system.entity.BaseEntity;

/**
 * @author: Sampson
 * @date: 2022-05-29 21:01
 */
public class InnerService <M extends BaseMapper<T>, T extends BaseEntity>  extends ServiceImpl<M,T> implements IService<T> {

    public void init(M baseMapper,Class<T> entityClass,Class<M> mapperClass){
        this.baseMapper = baseMapper;
        this.entityClass = entityClass;
        this.mapperClass = mapperClass;

    }
}
